import React from "react";
import { Link } from "react-router-dom"
import moduleName from 'module';
import  "./style.css"
class NavBar extends React.Component {
    render () {
        return(
            <React.Fragment>
            <div className="hander">jy510管理系统</div>
            <ul className="navbar">
                <li>
                    <Link to="/home/user">用户管理</Link>
                </li>
                <li>
                    <Link to="/home/house">房源管理</Link>
                </li>
                <li>
                    <Link to="/home/news">资讯管理</Link>
                </li>
            </ul>
            </React.Fragment>
        )
    }
}
export default NavBar;